package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 打本记录表
 * @TableName play_record
 */
@TableName(value ="play_record")
public class PlayRecord implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private String uuId;

    /**
     * 游戏时间
     */
    private Long startTime;

    /**
     * 游戏地址
     */
    private String playZone;

    /**
     * 游戏类型
     */
    private String playType;

    /**
     * 游戏名称
     */
    private String playName;

    /**
     * 主持人
     */
    private String mainDm;

    /**
     * 副主持人
     */
    private String minorDm;

    /**
     * 配合演绎
     */
    private String cooperate;

    /**
     * 游戏人数
     */
    private Integer playerNum;

    /**
     * 共收款
     */
    private String moneys;

    /**
     * 备注
     */
    private String description;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 修改时间
     */
    private Long updateTime;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 修改人
     */
    private String updateUser;

    /**
     * 主键
     */
    public String getUuId() {
        return uuId;
    }

    /**
     * 主键
     */
    public void setUuId(String uuId) {
        this.uuId = uuId;
    }

    /**
     * 游戏时间
     */
    public Long getStartTime() {
        return startTime;
    }

    /**
     * 游戏时间
     */
    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    /**
     * 游戏地址
     */
    public String getPlayZone() {
        return playZone;
    }

    /**
     * 游戏地址
     */
    public void setPlayZone(String playZone) {
        this.playZone = playZone;
    }

    /**
     * 游戏类型
     */
    public String getPlayType() {
        return playType;
    }

    /**
     * 游戏类型
     */
    public void setPlayType(String playType) {
        this.playType = playType;
    }

    /**
     * 游戏名称
     */
    public String getPlayName() {
        return playName;
    }

    /**
     * 游戏名称
     */
    public void setPlayName(String playName) {
        this.playName = playName;
    }

    /**
     * 主持人
     */
    public String getMainDm() {
        return mainDm;
    }

    /**
     * 主持人
     */
    public void setMainDm(String mainDm) {
        this.mainDm = mainDm;
    }

    /**
     * 副主持人
     */
    public String getMinorDm() {
        return minorDm;
    }

    /**
     * 副主持人
     */
    public void setMinorDm(String minorDm) {
        this.minorDm = minorDm;
    }

    /**
     * 配合演绎
     */
    public String getCooperate() {
        return cooperate;
    }

    /**
     * 配合演绎
     */
    public void setCooperate(String cooperate) {
        this.cooperate = cooperate;
    }

    /**
     * 游戏人数
     */
    public Integer getPlayerNum() {
        return playerNum;
    }

    /**
     * 游戏人数
     */
    public void setPlayerNum(Integer playerNum) {
        this.playerNum = playerNum;
    }

    /**
     * 共收款
     */
    public String getMoneys() {
        return moneys;
    }

    /**
     * 共收款
     */
    public void setMoneys(String moneys) {
        this.moneys = moneys;
    }

    /**
     * 备注
     */
    public String getDescription() {
        return description;
    }

    /**
     * 备注
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * 创建时间
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * 修改时间
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * 修改时间
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 创建人
     */
    public String getCreateUser() {
        return createUser;
    }

    /**
     * 创建人
     */
    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    /**
     * 修改人
     */
    public String getUpdateUser() {
        return updateUser;
    }

    /**
     * 修改人
     */
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        PlayRecord other = (PlayRecord) that;
        return (this.getUuId() == null ? other.getUuId() == null : this.getUuId().equals(other.getUuId()))
            && (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
            && (this.getPlayZone() == null ? other.getPlayZone() == null : this.getPlayZone().equals(other.getPlayZone()))
            && (this.getPlayType() == null ? other.getPlayType() == null : this.getPlayType().equals(other.getPlayType()))
            && (this.getPlayName() == null ? other.getPlayName() == null : this.getPlayName().equals(other.getPlayName()))
            && (this.getMainDm() == null ? other.getMainDm() == null : this.getMainDm().equals(other.getMainDm()))
            && (this.getMinorDm() == null ? other.getMinorDm() == null : this.getMinorDm().equals(other.getMinorDm()))
            && (this.getCooperate() == null ? other.getCooperate() == null : this.getCooperate().equals(other.getCooperate()))
            && (this.getPlayerNum() == null ? other.getPlayerNum() == null : this.getPlayerNum().equals(other.getPlayerNum()))
            && (this.getMoneys() == null ? other.getMoneys() == null : this.getMoneys().equals(other.getMoneys()))
            && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser()))
            && (this.getUpdateUser() == null ? other.getUpdateUser() == null : this.getUpdateUser().equals(other.getUpdateUser()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUuId() == null) ? 0 : getUuId().hashCode());
        result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
        result = prime * result + ((getPlayZone() == null) ? 0 : getPlayZone().hashCode());
        result = prime * result + ((getPlayType() == null) ? 0 : getPlayType().hashCode());
        result = prime * result + ((getPlayName() == null) ? 0 : getPlayName().hashCode());
        result = prime * result + ((getMainDm() == null) ? 0 : getMainDm().hashCode());
        result = prime * result + ((getMinorDm() == null) ? 0 : getMinorDm().hashCode());
        result = prime * result + ((getCooperate() == null) ? 0 : getCooperate().hashCode());
        result = prime * result + ((getPlayerNum() == null) ? 0 : getPlayerNum().hashCode());
        result = prime * result + ((getMoneys() == null) ? 0 : getMoneys().hashCode());
        result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().hashCode());
        result = prime * result + ((getUpdateUser() == null) ? 0 : getUpdateUser().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uuId=").append(uuId);
        sb.append(", startTime=").append(startTime);
        sb.append(", playZone=").append(playZone);
        sb.append(", playType=").append(playType);
        sb.append(", playName=").append(playName);
        sb.append(", mainDm=").append(mainDm);
        sb.append(", minorDm=").append(minorDm);
        sb.append(", cooperate=").append(cooperate);
        sb.append(", playerNum=").append(playerNum);
        sb.append(", moneys=").append(moneys);
        sb.append(", description=").append(description);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", createUser=").append(createUser);
        sb.append(", updateUser=").append(updateUser);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}